




from tkinter import *

root= Tk()

# 文本
textlabel = Label(root,
text="wocao",bg="#666")

textlabel.pack()

# 图片组件
img= PhotoImage(
    file ="../mm/005TgvqCgy1ftv5m7ct6vg30c307ox6p.gif")

imgLabel = Label(root,image=img )

imgLabel.pack(side="right")

root.mainloop()



























